package com.yunfangdata.mapper;

import com.yunfangdata.domain.Refund;
import com.yunfangdata.query.RefundQueryObject;

import java.util.List;

public interface RefundMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Refund record);

    Refund selectByPrimaryKey(Long id);

    List<Refund> selectAll();

    int updateByPrimaryKey(Refund record);

    int queryForCount(RefundQueryObject qo);

    List<Refund> queryForList(RefundQueryObject qo);

    void changeState(Long id);
}